package cn.liumouren.tool.pac.entity.rely;

import java.util.Map;

/**
 * @author Daniel Liu
 * @date 2021/3/1 23:30
 */
public class Set {
    /**
     * 更新数据
     * eg: set `name` = 'daniel'
     */
    private Map<String, Object> update;
    /**
     * 偏移数据
     * eg: set follower = follower + 1
     */
    private Map<String, Number> offset;

    public Map<String, Object> getUpdate() {
        return update;
    }

    public void setUpdate(Map<String, Object> update) {
        this.update = update;
    }

    public Map<String, Number> getOffset() {
        return offset;
    }

    public void setOffset(Map<String, Number> offset) {
        this.offset = offset;
    }
}
